/*
 *Create By：Z.B
 *@DATE 2019/3/18 10:16
 *@EMAIL: 2545375@qq.com
 */
'use strict';

module.exports = app => {
  const {router,controller} = app;

  router.get('/',controller.home.index);


  router.post('/login', controller.userAccess.login);
  router.get('/access/current', controller.userAccess.current);

  router.post('/user/create',controller.user.create);
};